package one.stand.model;

import java.io.Serializable;
import java.util.Date;

public class GoodsType implements Serializable {
    private Integer goodstypeId;

    private Integer companyId;

    private String name;

    private Integer parentId;

    private Integer sort;

    private String remark;

    private String groupName;

    private Integer isDel;

    private Integer selectCompanyId;

    private Integer selectTypeId;

    private Integer isShow;

    private String photo;

    private Date createTime;

    private Date updateTime;

    private static final long serialVersionUID = 1L;

    public GoodsType(Integer goodstypeId, Integer companyId, String name, Integer parentId, Integer sort, String remark, String groupName, Integer isDel, Integer selectCompanyId, Integer selectTypeId, Integer isShow, String photo, Date createTime, Date updateTime) {
        this.goodstypeId = goodstypeId;
        this.companyId = companyId;
        this.name = name;
        this.parentId = parentId;
        this.sort = sort;
        this.remark = remark;
        this.groupName = groupName;
        this.isDel = isDel;
        this.selectCompanyId = selectCompanyId;
        this.selectTypeId = selectTypeId;
        this.isShow = isShow;
        this.photo = photo;
        this.createTime = createTime;
        this.updateTime = updateTime;
    }

    public GoodsType() {
        super();
    }

    public Integer getGoodstypeId() {
        return goodstypeId;
    }

    public void setGoodstypeId(Integer goodstypeId) {
        this.goodstypeId = goodstypeId;
    }

    public Integer getCompanyId() {
        return companyId;
    }

    public void setCompanyId(Integer companyId) {
        this.companyId = companyId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    public Integer getParentId() {
        return parentId;
    }

    public void setParentId(Integer parentId) {
        this.parentId = parentId;
    }

    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark == null ? null : remark.trim();
    }

    public String getGroupName() {
        return groupName;
    }

    public void setGroupName(String groupName) {
        this.groupName = groupName == null ? null : groupName.trim();
    }

    public Integer getIsDel() {
        return isDel;
    }

    public void setIsDel(Integer isDel) {
        this.isDel = isDel;
    }

    public Integer getSelectCompanyId() {
        return selectCompanyId;
    }

    public void setSelectCompanyId(Integer selectCompanyId) {
        this.selectCompanyId = selectCompanyId;
    }

    public Integer getSelectTypeId() {
        return selectTypeId;
    }

    public void setSelectTypeId(Integer selectTypeId) {
        this.selectTypeId = selectTypeId;
    }

    public Integer getIsShow() {
        return isShow;
    }

    public void setIsShow(Integer isShow) {
        this.isShow = isShow;
    }

    public String getPhoto() {
        return photo;
    }

    public void setPhoto(String photo) {
        this.photo = photo == null ? null : photo.trim();
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }
}